package cn.icatw.gulimall.search.service;

import cn.icatw.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @author icatw
 * @date 2022/3/11
 * @email 762188827@qq.com
 * @apiNote
 */
public interface ProductSaveService {
    /**
     * 更新商品状态 将商品信息保存到es中
     * @param skuEsModels
     * @return void
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
